package com.ytjj.qmyx.admin.model.response;

import lombok.Data;

import java.util.Objects;

/**
 * @Description TODO
 * @ClassName BankerResponse
 *
 *
 * @Version 1.0
 **/

@Data
public class BankerResponse {

    /**
     * id
     */
    private Integer id;

    /**
     * specialId
     */
    private Integer specialId;

    /**
     * 分区名
     */
    private String title;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BankerResponse that = (BankerResponse) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(title, that.title);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, title);
    }
}

